
/*
 * GET order listing.
 */

exports.Index = function (req, res) {
    res.render('sale', { title:'Sale Order', menusno: 10020001 });
};



// Get Order List
// Request Type: get
// Url: /sale/order	
exports.GetOrders  = function (req, res) {
    res.send(_GetOrders());
};

// Get Order List
function _GetOrders() {
    var data= [
    		['O201606-0025','已打印 未发货','2016-06-04','923534444651','478.00','1062','1185.30','淘宝支付宝','lt00岗409','吕***','18088888888','彭***'],
			['O201606-0024','已打印 未发货','2016-06-04','923534444651','330.00','4308','1335.00','淘宝支付宝','景阳远5山','远***','18088888888','淳***'],
			['O201606-0023','已打印 未发货','2016-06-04','923534444651','230.00','8757','2944.07','淘宝支付宝','qinqingzi','***利','18088888888','淳***'],
			['O201606-0022','未打印 已下单','2016-06-04','923534444651','148.00','6748','3868.84','淘宝支付宝','荣誉d亲征','孙***','18088888888','颖***'],
			['O201606-0021','未打印 已下单','2016-06-03','923534444651','260.00','1446','1299.77','淘宝支付宝','小香ne6朱','朱***','18088888888','颖***'],
			['O201606-0015','已发货       ','2016-06-03','227679103968','162.00','1792','1125.00','淘宝支付宝','tb6362059','曾***','18088888888','董***'],
			['O201606-0014','已打印 未发货','2016-06-03','923534444651','266.00','4228','1622.50','淘宝支付宝','shenyu518','沈***','18088888888','文***'],
			['O201606-0012','已打印 未发货','2016-06-03','923534444651','520.00','1810','4639.44','淘宝支付宝','似水无3华','王***','18088888888','董***'],
			['O201606-0011','已打印 未发货','2016-06-03','923534444651','980.00','1986','3849.62','淘宝支付宝','she2333ng','F***s','18088888888','飞***'],
			['O201606-0010','已打印 未发货','2016-06-03','923534444651','570.00','8950','4530.00','淘宝支付宝','444poying','***es','18088888888','彭***'],
			['O201606-0009','未打印 已下单','2016-06-03','923534444651','212.00','2692','8845.00','淘宝支付宝','tb3638769','安***','18088888888','***颖'],
			['O201606-0008','已打印 未发货','2016-06-02','923534444651','120.00','9755','1268.28','淘宝支付宝','zhb2zhbbt','曾***','18088888888','彭***'],
			['O201606-0020','未打印 已下单','2016-06-03','923534444651','740.00','9463','1531.37','淘宝支付宝','bufogzhao','张***','18088888888','颖***'],
			['O201606-0019','已打印 未发货','2016-06-03','923534444651','530.00','1243','6272.25','淘宝支付宝','hsx750114','侯***','18088888888','飞***'],
			['O201606-0017','已打印 未发货','2016-06-03','923534444651','450.00','4174','1835.00','淘宝支付宝','emmahe617','何***','18088888888','元***'],
			['O201606-0016','已发货       ','2016-06-03','923534444651','562.00','3754','1094.59','淘宝支付宝','帆船点6点','朱***','18088888888','董***'],
			['O201606-0015','已发货       ','2016-06-03','227679103968','162.00','1792','1125.00','淘宝支付宝','tb6362059','曾***','18088888888','董***'],
			['O201606-0021','未打印 已下单','2016-06-03','923534444651','260.00','1446','1299.77','淘宝支付宝','小香ne6朱','朱***','18088888888','颖***'],
			['O201606-0007','已打印 未发货','2016-06-02','923534444651','193.00','4256','1234.69','淘宝支付宝','344啃你饱','关***','18088888888','董***'],
			['O201606-0006','已打印 未发货','2016-06-02','923534444651','140.00','1938','6384.85','淘宝支付宝','45rbenlwb','梅***','18088888888','颖***'],
			['O201606-0005','已发货       ','2016-06-02','923536354615','140.00','3922','1335.00','淘宝支付宝','hy1519117','黄***','18088888888','***颖'],
			['O201606-0014','已打印 未发货','2016-06-03','923534444651','266.00','4228','1622.50','淘宝支付宝','shenyu518','沈***','18088888888','文***'],
			['O201606-0012','已打印 未发货','2016-06-03','923534444651','520.00','1810','4639.44','淘宝支付宝','似水无3华','王***','18088888888','董***'],
			['O201606-0011','已打印 未发货','2016-06-03','923534444651','980.00','1986','3849.62','淘宝支付宝','she2333ng','F***s','18088888888','飞***'],
			['O201606-0010','已打印 未发货','2016-06-03','923534444651','570.00','8950','4530.00','淘宝支付宝','444poying','***es','18088888888','彭***'],
			['O201606-0009','未打印 已下单','2016-06-03','923534444651','212.00','2692','8845.00','淘宝支付宝','tb3638769','安***','18088888888','***颖'],
			['O201606-0008','已打印 未发货','2016-06-02','923534444651','120.00','9755','1268.28','淘宝支付宝','zhb2zhbbt','曾***','18088888888','彭***'],
			['O201606-0022','未打印 已下单','2016-06-04','923534444651','148.00','6748','3868.84','淘宝支付宝','荣誉d亲征','孙***','18088888888','颖***'],
			['O201606-0021','未打印 已下单','2016-06-03','923534444651','260.00','1446','1299.77','淘宝支付宝','小香ne6朱','朱***','18088888888','颖***'],
			['O201606-0015','已发货       ','2016-06-03','227679103968','162.00','1792','1125.00','淘宝支付宝','tb6362059','曾***','18088888888','董***'],
			['O201606-0014','已打印 未发货','2016-06-03','923534444651','266.00','4228','1622.50','淘宝支付宝','shenyu518','沈***','18088888888','文***'],
			['O201606-0012','已打印 未发货','2016-06-03','923534444651','520.00','1810','4639.44','淘宝支付宝','似水无3华','王***','18088888888','董***'],
			['O201606-0011','已打印 未发货','2016-06-03','923534444651','980.00','1986','3849.62','淘宝支付宝','she2333ng','F***s','18088888888','飞***'],
			['O201606-0012','已打印 未发货','2016-06-03','923534444651','520.00','1810','4639.44','淘宝支付宝','似水无3华','王***','18088888888','董***'],
			['O201606-0011','已打印 未发货','2016-06-03','923534444651','980.00','1986','3849.62','淘宝支付宝','she2333ng','F***s','18088888888','飞***'],
			['O201606-0010','已打印 未发货','2016-06-03','923534444651','570.00','8950','4530.00','淘宝支付宝','444poying','***es','18088888888','彭***'],
			['O201606-0009','未打印 已下单','2016-06-03','923534444651','212.00','2692','8845.00','淘宝支付宝','tb3638769','安***','18088888888','***颖'],
			['O201606-0008','已打印 未发货','2016-06-02','923534444651','120.00','9755','1268.28','淘宝支付宝','zhb2zhbbt','曾***','18088888888','彭***'],
			['O201606-0022','未打印 已下单','2016-06-04','923534444651','148.00','6748','3868.84','淘宝支付宝','荣誉d亲征','孙***','18088888888','颖***'],
			['O201606-0021','未打印 已下单','2016-06-03','923534444651','260.00','1446','1299.77','淘宝支付宝','小香ne6朱','朱***','18088888888','颖***'],
			['O201606-0007','已打印 未发货','2016-06-02','923534444651','193.00','4256','1234.69','淘宝支付宝','344啃你饱','关***','18088888888','董***'],
			['O201606-0006','已打印 未发货','2016-06-02','923534444651','140.00','1938','6384.85','淘宝支付宝','45rbenlwb','梅***','18088888888','颖***'],
			['O201606-0005','已发货       ','2016-06-02','923536354615','140.00','3922','1335.00','淘宝支付宝','hy1519117','黄***','18088888888','***颖'],
			['O201606-0004','已发货       ','2016-06-02','923536353911','560.00','2453','5273.32','淘宝支付宝','hyliangji','梁***','18088888888','汇***']];
	return data;
	// body...
}